<html>
<head>
<link href="{$siteinfo.tempdir}images/index.css" rel="stylesheet"
	type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="inc/js/jquery.js" type="text/javascript"></script>
<script src="inc/js/jquery-chekform.js" type="text/javascript"></script>

<script language="javascript">
$(function(){

	//提交验证部分
	$("#sub").chkform([
	{"name":$("#fm_oldpassword"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>旧密码不能为空！</span></div>","type":"chkblank"},
	{"name":$("#fm_newpassword"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>新密码不能为空！</span></div>","type":"chkblank"},
	{"name":$("#fm_newpassword2"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>确认密码不能为空！</span></div>","type":"chkblank"},
	{"name":$("#fm_newpassword"),"where":$("#errmsg"),"value":"<div class='errbox'><span class='nwring'></span><span>新密码确认密码不一致！</span></div>","type":"chkeq","bval":$("#fm_newpassword2")}

	]);


})
</script>
</head>
<body>
<form name="form1" method="post" action="" enctype="multipart/form-data" >
  <table width="100%" border="0" cellspacing="0" cellpadding="0" >
    <tr>
      <td width="100%" class="list black" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="86%" align="center" class="black">资料修改</td>
            <td width="14%">
            
		  <a href="javascript:history.go(-1)"><img
					src="{$siteinfo.tempdir}images/list_add3.gif" width="84"
					height="26"
					onMouseOver="this.src='{$siteinfo.tempdir}images/list_add4.gif'"
					onMouseOut="this.src='{$siteinfo.tempdir}images/list_add3.gif'"
					border="0" /></a>
					
					</td>
          </tr>
        </table></td>
    </tr>
	
	
    <tr>
      <td class="list-add1 pl8" colspan="2" style="display:none" id="errmsg">

	  </td>
    </tr>
		
    <tr>
      <td height="40" align="right" class="list-add1">用户名：</td>
      <td class="list-add1 pl8"><span>{$admininfo.name}</span></td>
    </tr>
    <tr>
      <td height="40" align="right" class="list-add1">原密码：</td>
      <td class="list-add1 pl8"><input name="fm_oldpassword"
			type="password" size="30" value=""  id="fm_oldpassword"/></td>
    </tr>
    <tr>
      <td height="40" align="right" class="list-add1">新密码：</td>
      <td class="list-add1 pl8"><input name="fm_newpassword" id="fm_newpassword"
			type="password" size="30" value="" /></td>

    </tr>
    <tr>
      <td height="40" align="right" class="list-add1">确认密码：</td>
      <td class="list-add1 pl8"><input name="fm_newpassword2" id="fm_newpassword2"
			type="password" size="30" value="" /></td>
    </tr>

    <tr>
      <td align="center" class="list-add1" colspan="2" style="padding:20px">
<!--	  <input type="image"
			name="imageField" src="{$siteinfo.tempdir}images/list_add1.gif"
			onMouseOver="this.src='{$siteinfo.tempdir}images/list_add2.gif'"
			onMouseOut="this.src='{$siteinfo.tempdir}images/list_add1.gif'" id="sub"/>
			-->
			<input type="submit" value="提&nbsp;&nbsp;交&nbsp;&nbsp;信&nbsp;&nbsp;息" name="sub" id="sub" >
        <input type="hidden" name="action" value="changepass_update" />
      </td>
    </tr>
  </table>
</form>
<table width="102%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
